package com.ssy.lingxi.settle.accounts.model.vo.request;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 会员对公账户更新VO
 * @author 伍将
 * @date 2020/12/17
 * @version 2.0.0
 */
public class CorporateAccountConfigUpdateVO implements Serializable {

    private static final long serialVersionUID = 6665320916350626450L;
    /**
     * 项目类型：1-账号名称，2-银行账户，3-开户行
     */
    @NotNull(message = "项目类型需大于0")
    @Positive(message = "项目类型需大于0")
    private Integer itemType;

    /**
     * 更新内容
     */
    @NotBlank(message = "更新内容不能为空")
    private String itemValue;

    public Integer getItemType() {
        return itemType;
    }

    public void setItemType(Integer itemType) {
        this.itemType = itemType;
    }

    public String getItemValue() {
        return itemValue;
    }

    public void setItemValue(String itemValue) {
        this.itemValue = itemValue;
    }
}
